package com.example.service.article;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.domain.childer_articles;
import com.example.domain.shiping;

import java.util.List;

public interface articlesService {

    List<childer_articles> findBycategory(int category);

    List<childer_articles> findByname(String name,int a,int b);

    List<childer_articles> findByname(String name);

    IPage<childer_articles> getPage(int currentPage, int pageSize, childer_articles articles);

    IPage<childer_articles> getPagebyname(int currentPage, int pageSize, childer_articles articles);

    List<childer_articles> selectTop();

    List<childer_articles> selectbyid(int id);

    List<childer_articles> selectbyuserid(String userid);

    List<childer_articles> selectall(Integer a,Integer b);

    int allnumber();

    boolean deletebyid(int id);

    boolean insert(childer_articles childer_articles);


}
